package com.cdl.pair;
import com.cdl.Pair;

/**
 * @author cdl
 * @date 2025/10/14
 */
public class PairTest1 {
    public static void main(String[] args) {
        String[] words = {"Mary", "had", "a", "little", "lamb"};
        Pair<String> mm = ArrayAlg.minmax(words);

        System.out.println("min = " + mm.getFirst());
        System.out.println("max = " + mm.getSecond());


    }
}
